package com.qf.dao;

import com.qf.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    public List<User> selectAll();
    public int delete(List alist);
    public User selectOne(int id);
    public int update(User user);
    public int insert(User user);
    public User selectOneByNamePassword(@Param("name") String name, @Param("pass") String pass);
    public int insertShow(User user);
}
